<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="/static/plugins/easyui/themes/bootstrap/easyui.css">
    <link rel="stylesheet" type="text/css" href="/static/plugins/easyui/themes/icon.css">
    <script type="text/javascript" src="/static/plugins/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="/static/plugins/easyui/jquery.easyui.min.js"></script>
    <!--引入中文包-->
    <script type="text/javascript" src="/static/plugins/easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/index.js"></script>

    <script type="text/javascript" src="/static/js/memberClient.js"></script>
</head>

<body>
    <form id="memberClient_form" method="post">
        <input id="idd" type="hidden" name="id">
        <table>
            <tbody>
                <tr>
                    <%--左边的框--%>
                    <td>
                        <div class="panel panel-htop" style="display: block; width: 250px;">
                            <div id="p" class="easyui-panel panel-body panel-body-noheader" style="width: 248px; height: 315px;" title="">
                                <!--多条件组合查询-->
                                <p><input class="easyui-textbox" prompt="姓名/电话/卡号" id="keyword" />
                                <a class="easyui-linkbutton" iconCls="icon-mysearch" plain="true"  data-cmd="query">查询</a></p>
                                <p>选择类型:
                                    <input type="radio" name="radio" id="recharge" checked/>充值
                                    <input type="radio" name="radio" id="rechargeTime"/>充次
                                    <input type="hidden" name="payment" value="充值"/>
                                </p>
                                <p>会员卡号:<input id="cardNumber" name="cardNumber" class="easyui-textbox" readonly/></p>
                                <p>会员姓名:<input id="name" name="name" class="easyui-textbox" readonly/></p>
                                <p>会员等级:<input id="levelName" name="levelName" class="easyui-textbox" readonly/></p>
                                <p>会员生日:<input id="birthday" name="birthday" class="easyui-datebox" readonly/></p>

                                <p>当前积分:<input id="point" name="point" class="easyui-textbox" readonly/></p>
                                <p>累计消费:<input id="total" name="total" class="easyui-textbox" readonly/></p>
                            </div>
                        </div>
                    </td>

                    <%--右边的框--%>
                    <td>
                        <div class="panel panel-htop" style="display: block; width: 250px;">
                            <div class="easyui-panel panel-body panel-body-noheader" style="width: 248px; height: 315px;" title="">
                                <p>卡上余额:<input id="amount" name="amount" class="easyui-textbox" readonly /></p>
                                <p>充值金额:<input name="recharge" /></p>
                                <p>赠送金额:<input name="presenter" /></p>
                                <p>支付方式:<input name="operation" class="easyui-combobox "
                                                data-options="panelHeight:'auto',textField:'name',valueField:'name',url:'/dictionary/listAllDetail.do?dictionaryId=3'"/></p>
                                <p id="productName">选择商品:<input  name="recharge" class="easyui-combobox"
                                               data-options="panelHeight:'auto',textField:'name',valueField:'name',url:'/product/listAll.do'"/></p>
                                <p id="timeText">充值备注:<input name="remark" class="easyui-textbox" /></p>
                                <p>合计充值:  <span id="totalAmount"></span></p>

                                <%--表单按钮--%>
                                <a id="btn">
                                    <a class="easyui-linkbutton" iconCls="icon-emoji1" data-cmd="recharge">充值</a>
                                </a>
                            </div>
                        </div>
                    </td>
                    <td>
                        <%--会员信息表格--%>
                        <table id="memberMin_datagrid"></table>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>

    <%--会员明细表格--%>
    <table id="memberClient_datagrid"></table>

</body>
</html>
